const { override, fixBabelImports } = require('customize-cra')

module.exports = override(
    // 针对import 按需打包antd
    fixBabelImports('import',{
        libraryName: 'antd',
        libraryDirectory: 'es',
        style: 'css'
    })
)